package com.wanmait.model.pojo;

import java.io.Serializable;

/**
    * 风险评估表，保存评估过的采购，如果此模式和公司在本年评估过的则可以不评估
    */
public class RiskAssessment implements Serializable {
    private Integer id;

    /**
    * 模板id
    */
    private Integer procurementModelId;

    /**
    * 供应商id
    */
    private Integer supplierId;

    /**
    * 风险评估内容（上传开会文件）
    */
    private String assessment;

    /**
    * 0未通过可修改 1未通过直接取消  2评估中 3通过（项目组长开会评估，总经理确定最后结果）
    */
    private Integer enable;

    /**
    * 备注
    */
    private String remark;

    /**
    * 0删除  1存在
    */
    private Boolean state;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProcurementModelId() {
        return procurementModelId;
    }

    public void setProcurementModelId(Integer procurementModelId) {
        this.procurementModelId = procurementModelId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getAssessment() {
        return assessment;
    }

    public void setAssessment(String assessment) {
        this.assessment = assessment;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", procurementModelId=").append(procurementModelId);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", assessment=").append(assessment);
        sb.append(", enable=").append(enable);
        sb.append(", remark=").append(remark);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}